/**
 * 
 */
package com.estock.common.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.estock.common.model.security.BaseEntity;

/**
 * @author richard
 *
 */
@Entity
@Table(name="ESLog")
@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
public class ESLog extends BaseEntity {

	private static final long serialVersionUID = 7846416482942524293L;
	
	private String name;
	
	private String content;
	
	public ESLog(String name, String content) {
		this.name = name;
		this.content = content;
	}
	
	public ESLog() {}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
